package com.anti.modular.bus.billwaterdetail.service;

import com.anti.jdbc.support.page.PageParam;
import com.anti.jdbc.support.page.PageResult;
import com.anti.modular.bus.billwater.result.BillWaterDetailExcel;
import com.anti.modular.bus.billwaterdetail.entity.BillWaterDetail;
import com.anti.modular.bus.billwaterdetail.param.BillWaterDetailParam;

import java.util.List;

/**
 * 账单流水詳情service接口
 *
 * @author anti
 * @date 2021-04-24 13:44:50
 */
public interface BillWaterDetailService{

    /**
    * 根据主键查询实体
    */
    BillWaterDetail getById(BillWaterDetailParam billWaterDetailParam);

    List<BillWaterDetailExcel> getByIds(List<Long> ids);

    /**
     * 查询账单流水詳情
     *
     * @author anti
     * @date 2021-04-24 13:44:50
     */
    PageResult page(PageParam pageParam,BillWaterDetailParam billWaterDetailParam);

    /**
     * 账单流水詳情列表
     *
     * @author anti
     * @date 2021-04-24 13:44:50
     */
    List<BillWaterDetail> list(BillWaterDetailParam billWaterDetailParam);

    /**
     * 添加账单流水詳情
     *
     * @author anti
     * @date 2021-04-24 13:44:50
     */
    void add(BillWaterDetailParam billWaterDetailParam);

    void add(BillWaterDetail billWaterDetail);

    /**
     * 删除账单流水詳情
     *
     * @author anti
     * @date 2021-04-24 13:44:50
     */
    void delete(BillWaterDetailParam billWaterDetailParam);

    /**
     * 编辑账单流水詳情
     *
     * @author anti
     * @date 2021-04-24 13:44:50
     */
    void edit(BillWaterDetailParam billWaterDetailParam);

    /**
     * 查看账单流水詳情
     *
     * @author anti
     * @date 2021-04-24 13:44:50
     */
     BillWaterDetail detail(BillWaterDetailParam billWaterDetailParam);

}
